{extend name="layout:base" /}
{block name="page_content"}
  <form id="settings-form" class="form-horizontal" method="post">
    <div class="form-group">
      <label class="col-sm-3 control-label no-padding-right" for="form-field-1">
        URL模式：
      </label>
      <div class="col-sm-9">
        <select name="options[url_model]"  class="col-xs-10 col-sm-5" required>
          {foreach name="model_list" item="name" key="value" }
            <option value="tls" <?php if($value==$url_model){echo('checked="checked"');} ?>>
              {$name}
            </option>
          {/foreach}
        </select>
        <span class="help-inline col-xs-12 col-sm-7">
          <span class="middle" id="restwo">*如选择REWRITE,请确保服务器支持REWRITE!</span>
        </span>
      </div>
    </div>
    <div class="space-4"></div>

    <div class="form-group">
      <label class="col-sm-3 control-label no-padding-right" for="form-field-1">
        URL伪静态后缀：
      </label>
      <div class="col-sm-9">
        <input type="text" name="options[url_suffix]" id="url_suffix" value="{$options.url_suffix|default=''}"  class="col-xs-10 col-sm-5" required/>
        <span class="help-inline col-xs-12 col-sm-7">
          <span class="middle" id="restwo">普通模式不支持</span>
        </span>
      </div>
    </div>
    <div class="space-4"></div>

    <div class="clearfix form-actions">
      <div class="col-sm-offset-3 col-sm-9">
        <button class="btn btn-info" type="submit">
          <i class="ace-icon fa fa-check bigger-110"></i>
          保存
        </button>

        &nbsp; &nbsp; &nbsp;
        <button class="btn" type="reset">
          <i class="ace-icon fa fa-undo bigger-110"></i>
          重置
        </button>
      </div>
    </div>
  </form>
{/block}